package com.property.manage.dao.repair;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.property.manage.model.renovation.RenovationEntity;
import com.property.manage.model.renovation.RenovationVo;
import com.property.manage.model.repair.RepairEntity;
import com.property.manage.model.repair.RepairVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/7/15
 */
@Repository
public interface RepairMapper extends BaseMapper<RepairEntity> {

    IPage<RepairVo> getPage(@Param("page") IPage<RepairVo> page, @Param("villageId") Integer villageId, @Param("startTime")String rTime, @Param("endTime")String endTime);
    RepairVo queryById(@Param("id")Integer id);

}
